<?php
include "incEntetePage.php";
?>

<!--  BRIQUE DE D'ACTUALITES, RECHERCHE ET PROFESSIONNELS,  PARTIE CENTRALE -->


<?php
   // brique de navigation
   $p_name="p_navig";
   $p_title="";
   $p_width=732;
   $p_height=25;
   $p_xpos=-1;
   $p_ypos=88;
   $p_move="n";
   $p_content="./partprof/barrenavigpart.php";
   $p_color="FFFFFF";
   $p_border="ja";
   $p_scroll="n";
   $p_icon="";
   include "../lib/popup.php";
?>
<?php
if( !isset($_GET) || isset($_GET) && (!isset($_GET['page']) || $_GET['page'] == '1') )
{
    /********************************************************
     *                       PAGE 1 : MON BUREAU
     ********************************************************/
   // mon bureau
   $p_name="p_bureau";
   $p_title=" ";
   $p_width=670;
   $p_height=550;
   $p_xpos=30;
   $p_ypos=140;
   $p_move="n";
   $p_content="./partprof/bureaupart.php";
   $p_color="FFFFFF";
   $p_border="vc";
   $p_scroll="n";
   $p_icon="loupe.png";
   include "../lib/popup.php";

} else if( isset($_GET) && isset($_GET['page']) && $_GET['page'] == '2' )
{
    /********************************************************
     *                       PAGE 2 : MON AGENDA
     ********************************************************/
   // brique de recherche
   $p_name="p_agenda";
   $p_title=" ";
   $p_width=670;
   $p_height=550;
   $p_xpos=30;
   $p_ypos=140;
   $p_move="n";
   $p_content="./partprof/agendapart.php";
   $p_color="FFFFFF";
   $p_border="bl";
   $p_scroll="n";
   $p_icon="loupe.png";
   include "../lib/popup.php";


} else if( isset($_GET) && isset($_GET['page']) && $_GET['page'] == '3' )
{
    /********************************************************
     *                       PAGE 3 : MES DONNEES
     ********************************************************/
   $p_name="p_donnees";
   $p_title=" ";
   $p_width=670;
   $p_height=550;
   $p_xpos=30;
   $p_ypos=140;
   $p_move="n";
   $p_content="./partprof/doneespart.php";
   $p_color="FFFFFF";
   $p_border="ja";
   $p_scroll="n";
   $p_icon="";
   include "../lib/popup.php";

} else if( isset($_GET) && isset($_GET['page']) && $_GET['page'] == '4' )
{
    /********************************************************
           *                       PAGE 4 : MON PROFIL
           ********************************************************/
   $p_name="p_profil";
   $p_title=" ";
   $p_width=670;
   $p_height=550;
   $p_xpos=30;
   $p_ypos=140;
   $p_move="n";
   $p_content="./partprof/profilpart.php";
   $p_color="FFFFFF";
   $p_border="ro";
   $p_scroll="n";
   $p_icon="";
   include "../lib/popup.php";

} else {
?>
<script>document.location.href="/pages/accueilPart.php"</script>
<?php

}
?>
<?php include "incPiedPage.php"; ?>